from core.milvus_vector import MilvusVector


if __name__ == '__main__':
    milvus = MilvusVector()
    documents = milvus.hybrid_search(
        collection_name='f4ce7acb90c834d6fa4a0a4221404ed6c',
        query='债权人住所',
        top_k=10
    )
    for doc in documents:
        print(doc.content)